#ifndef EXTREME_C_EXAMPLES_CHAPTER_7_1_CAR_H
#define EXTREME_C_EXAMPLES_CHAPTER_7_1_CAR_H

struct car_t;

//内存分配器
struct car_t* car_new();

//构造函数 Constructor
void car_ctor(struct car_t*);

//析构函数 Destructor
void car_dtor(struct car_t*);

//行为函数
void car_start(struct car_t*);
void car_stop(struct car_t*);
double car_get_engine_temperature(struct car_t*);

#endif